JS:
// Add a custom
(function ($) {
$(function () {
/**
* Add an extra function to the Drupal ajax object that is specific to our
* custom Drupal menu callback for: "custom/ajax/%/%".
*/
Drupal.ajax.prototype.customAjaxHandler = function (arg1, arg2) {