switched to require.js