Changed alerts back to consoles

Added Cordova console.log plugin so consoles should work now.