Fixed a bug when using commonjs with requirejs