a practise for phonegap and jquery mobile