Sample code Cordova with Jquery Mobile