Add alert dialog plugin
Init cordova script for checking internet connection