BB10-Cordova/AudioMetaData/plugin/src/blackberry10/index.js
function (success, fail, args, env) {
		if (!processing) {
			processing = true;
			var result = new PluginResult(args, env);
			resultObjs[result.callbackId] = result;
			var value;
			if (args && args["input"]) {
				value = JSON.parse(decodeURIComponent(args["input"]));
				audioMetaData.getInstance().audioMetaDataGetMetaData(result.callbackId, value);
				result.noResult(true);
			}
		}
	}
function (success, fail, args, env) {
		if (!processing) {
			processing = true;
			var result = new PluginResult(args, env);
			resultObjs[result.callbackId] = result;
			var value;
			if (args && args["input"]) {
				value = JSON.parse(decodeURIComponent(args["input"]));
				audioMetaData.getInstance().audioMetaDataGetMetaData(result.callbackId, value);
				result.noResult(true);
			}
		}
	}
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.