To make this plugin AMD compliant

Of course, if “define” is not out there (like if RequireJS is not being
used) then it will just be loaded as it was being loaded prior to this
change