Proper way of definding toggleswitch
define toggleswitch based on select tag and data-role="toggleswitch"
define toggleswitch based on select tag and data-role="slider"
To display jqm style swtich, set text for option tag
define long toggleswitch like slider based on select tag and data-role="slider"
define short toggleswitch like slider based on select tag and data-role="slider"