Included phonegap.js in the html.