added a ref to require.js