fix: commonjs wrapper

Closes #19