add reference to phonegap.js