migrate to official require.js

- third party js library compatability
- match dev and prod environments so there are no surprises when bundling
- ability to use requirejs facilities such as shim
- no surprises that we're using a different module loader in prod than dev
- use official supported library