BB10-Cordova/AudioRecorder/plugin/src/blackberry10/index.js
function (success, fail, args, env) {
		var result = new PluginResult(args, env);
		result.ok(audiorec.getInstance().record(), false);
	}
function (success, fail, args, env) {
		var result = new PluginResult(args, env);
		result.ok(audiorec.getInstance().record(), 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.