reinserted phonegap.js