var exec = require('cordova/exec');

module.exports = {
    isGpsEnabled: function (name, successCallback, errorCallback) {
        cordova.exec(successCallback, errorCallback, "CheckGps", "isGpsEnabled", [name]);
    }
};
@@ -81,14 +81,8 @@
 on (
-name, 
 succ
@@ -197,12 +197,8 @@
 %22, %5B
-name
 %5D);%0A
@@ -205,8 +205,9 @@
     %7D%0A%7D;
+%0A

Remove input parameter