Messing about with require.js