Re-added phonegap.js