Removing ondevice ready event. Also adding phonegap to error message to filter out