added support for amd loaders, removed jquery dependency

i incorporated `extend` from [the coffeescript helpers](http://coffeescript.org/documentation/docs/helpers.html) and added support for amd loaders like requirejs.

I also commited a vanilla js file, alongside an updated minifed version