the long journey to require.js
module driven build of ui
refactor ui to use modules