active link in nav bar, js fixes