General: error output in html instead of alert
General: cordova.js not needed for desktop browser development. Use of tools like https://github.com/phonegap/phonegap/wiki/Debugging-in-PhoneGap#wiki-additional-tools instead