[MIE-1172] Fixing require.js issues