To Indicate the Mandatory Field

Hi
For the mandatory fields i want to mark the field with titleName followed by (In red colour)
For example
FirstName is mandatory field i want to display the FirstName mandatory field as
FirstName
(
in red color) . By using xml format its possible by giving <span > in html in title tag but i want it in js format because we have followed the js format in all over the project thats why. is there any solutions for this.
Below is my sample code.
isc.DynamicForm.create({
ID:“dataForm”,
fields:[{
name:“details”,
startRow:true,
valueMap:“[‘Value1’,‘Value2’,‘Value3’,'Value4]”,
title:“<s:text name=“masters.products”/>”,
color:“red”,
height:20,
type:“comboBox”,
align:“left”,
endRow:true

       }],

numCols:2
});

You can change the entire title CSS style with titleStyle property if that helps.