convert to commonjs, put on npm