Add require.js support