Network Connection Testing

Checking code to test for network connectivity.  Default Cordova code
works fine.