BB10/VIBRATION/ext/community.vibration/index.js
function (success, fail, args) {
		args = JSON.parse(decodeURIComponent(args["input"]));
		vibration.getInstance().vibration_request(args);
		success();
	}
function (success, fail, args) {
		args = JSON.parse(decodeURIComponent(args["input"]));
		vibration.getInstance().vibration_request(args);
		success();
	}
These methods call into vibrationJNEXT.js which handles the communication through the JNEXT plugin to vibration_js.cpp