Added cordova.js reference

Also added some console.log to ease the debug
console.log("[method_name]");