Code can be declared and used outside the module.exports object, but any functions to be called by client.js need to be declared here in this object.
function (success, fail, args, env) {
		var result = new PluginResult(args, env); 
		args = JSON.parse(decodeURIComponent(args["input"]));
		result.ok(led.getInstance().startLed(args), false); 
	}