Check with an alert message
Added cordova reference