Added CommonJS support
Merge pull request #14 from scttnlsn/master

Add CommonJS support