Convert a normal amd module to the simplified commonjs style module