build entire webpage in js
load scripts dynamically. Not optimal yet. Suggesting switch to require.js