Add support for AMD and Node module pattern
Merge pull request #6 from ferblape/master

Add support for AMD and Node module pattern