Fix commonjs export
Merge pull request #6 from JayceTDE/exports

Fix commonjs export