replace "jquery document ready" to "onDeviceReady"