Updating script to handle selecting the active navigation pill. Updating HTML pages to support the script and removing unnecessary JS files.