add require.js boilerplate