browser error page js fixes and navbar adjustments