made it a pure commonjs module, much less overhead