Replace javascript alert with cordova notification