adds require.js dependency