Support CommonJS style.
Merge pull request #54 from saneyuki/commonjs

Support CommonJS style.