implement require.js in project