is it good idea(is it used) better use web full tech. to test my app after convert to phonegap app

is it good idea(is it used) better use web full tech. to test my app after convert to phonegap app

document.addEventListener("deviceready", onDeviceReady, false); // this should be called in each page eg map.html and needs phonegap.js in each page, import (dreamweaver) or only to index.html?

is it good idea(is it used) better use web full tech. to test my app after convert to phonegap/jQMobile app, like use onload rather on device ready? faster testing...