Phonegap/Cordova hacky logger