began switchover to require.js, added new dependencies, created main.js with reqire paths and shims