switch to require.js for local dev