updated to to work with jquery names other than $

$ is just an alias for jQuery. Plugins should not assume that $ works directly. There can be conflict when using other libraries.

example e.g. in: https://github.com/moxiecode/plupload/blob/master/js/jquery.plupload.queue/jquery.plupload.queue.js