* Added fallback check if cordova is not available, so the app can be run as web app