converting to jqMobi framework