Uncommented cordova.js from index.html. No wonder it's not working