BB10-Cordova/LED/plugin/src/blackberry10/index.js
function (success, fail, args, env) {
		var result = new PluginResult(args, env); 
		args = JSON.parse(decodeURIComponent(args["input"]));
		result.ok(led.getInstance().startLed(args), false); 
	}
function (success, fail, args, env) {
		var result = new PluginResult(args, env); 
		args = JSON.parse(decodeURIComponent(args["input"]));
		result.ok(led.getInstance().startLed(args), false); 
	}
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.