require.js boilerplate