Creating pages with Jquery (Cordova)