Fix for latest Require.js