* add online offline detection for cordova