update index.html with more js
remove docs line
restructure javascripts
update webinit.init.js
re-enable DEV_MODE
add page switching functionality