Compatibility with AMD and .noconflict()

Hi,

I had to make a little change to make this plugin work with my code (we use requirejs, and we don't have a global $ variable for jQuery because some legacy imported contents uses Mootools).