modifying nav selection javascript, placing back in header