CommonJS support.
Merge pull request #34 from filipovskii/dev

CommonJS support.