Changing the way the amd module is exposed

Since this might be used in other places besidea require project,
I thought it might be handy to "expose" it in the same style as
jQuery or underscore or whatever. Doing that I had to change how
it was getting included in my AMD project.