compatible with commonjs

Hey @kenhkan, this seems to be working in my local project, please verify this work :cherries: