Added a AMD and a CommonJS wrapper
Merge pull request #2 from ydaniv/master

Added a wrapper for AMD and CommonJS module loading