Re-added phonegap.js to index.html. Phonegap is really unclear about that.