Allow using jQuery noConflict mode

In [noConflict mode](http://api.jquery.com/jQuery.noConflict/) `$` is not defined, you have to use `jQuery`instead