Fixed a bug with require.js

See http://requirejs.org/docs/errors.html#mismatch for more information.