Add require.js support for dev. Still need to support build.