Fix all the stupid require.js misuse