BB10-Cordova/Screenshot/plugin/src/blackberry10/index.js
function (success, fail, args, env) {
		var result = new PluginResult(args, env);
	
		var userargs = JSON.parse(decodeURIComponent(args["userargs"]));
		result.ok(screenshotJNEXT.hello({userargs:userargs}));
	}
function (success, fail, args, env) {
		var result = new PluginResult(args, env);
	
		var userargs = JSON.parse(decodeURIComponent(args["userargs"]));
		result.ok(screenshotJNEXT.hello({userargs:userargs}));
	}
function ( success , fail , args , env ) { var result = new PluginResult ( args , env ) ; var userargs = JSON . parse ( decodeURIComponent ( args [ "userargs" ] ) ) ; result . ok ( screenshotJNEXT . hello ( { userargs : userargs } ) ) ; }
These methods call into templateJNEXT.js which handles the communication through the JNEXT plugin to template_js.cpp 
hello() returns version info
These methods call into templateJNEXT . js which handles the communication through the JNEXT plugin to template_js . cpp hello () returns version info