require.register instead of require.define

i think the updated commonjs spec is require.register instead of require.define