old_contents:     var exec = require('cordova/exec');
  
      var MyOwnPlugin = function() {};
  
      MyOwnPlugin.prototype.managewifi = function(suc,fa) {
         exec(function(winParam) {
              alert('sucess plug');
         }, function(error) {
               alert(error);
         }, 'WifiInfoPlugin', 'managewifi', []);
      }
      module.exports = new MyOwnPlugin();
  
  
new_contents:     var exec = require('cordova/exec');
  
      var MyOwnPlugin = function() {};
  
      MyOwnPlugin.prototype.managewifi = function(suc,fa) {
         exec(function(winParam) {
              alert('sucess plug');
         }, function(error) {
               alert(error);
         }, 'wifi', 'managewifi', []);
      }
      module.exports = new MyOwnPlugin();
  
  
subject: Update WifiInfoPlugin.js