add entrypoint for CommonJS
Merge pull request #8 from divmain/common-js-entrypoint

Add entrypoint for CommonJS