Debugging issue caused by chrome object in cordova window