Use $ from closure to reference jQuery

Ensures that this plugin works even when the jQuery global is removed