further updates to navigation and javascript