Added a cordova.js generator for PhantomJS.