Cordova detection added