Jquery mobile conversion