updated to jquery mobile format