nav bar javascript added