Allow loading as module

First, thanks for your library. Fancy!

I modified the coffee files a bit, to enable loading of files as module (e.g. using requireJs or browserify)
This was something I really needed for a library of mine.

ps. the regular approach of loading these files in the global namespace still functions as usual of course