Close navbar when link clicked
Rebuilt JS