Added require.js library, starting JS reorganization