Phonegap plugin to extend upon connectiveity states for improved network monitoring and event triggers.