JS Clean-up, upgrades, and js dynamic load disabled

Moved all JS script tages to template. Removed header parameters from
template. Done to avoid unnecessary complications due to dynamic JS
loading. Started making more generic and consistent filenames.