A Phonegap plugin for managing Wifi networks