fix commonjs module loader