Jquery get upon follow

Hi,
I am trying to use jquery $.get() after my channel recieves a follow. From going through the source code, is the /scripts/handlers/followHandler.js the appropriate spot to add my own code?

Thanks,
switch

Its better to create an own js file and bind to the followEvent. There you can code whatever you like. But I guess you have to write it in normal JS.

(function() {
  /*
  * @event twitchSubscriber
  */
  $.bind('PutTheCorrectEventNameHere', function(event) {
  });
});

perfect, thanks for the direction.