added phonegap.js