Add support for RequireJS environments
Merge pull request #41 from davidmpaz/master

Add support for RequireJS environments