adding require.js support instead of head.js