CommonJS support
Merge pull request #23 from konsumer/patch-1

CommonJS support