move embedded js into separate files
replace static nav bar with dynamic single page nav bar