Pass $ variable through to callback function

So custom jQuery namespace only has to be defined once.