clean up and try out with cordova-plugin-network-information#master (version="0.2.10-dev">)