new js for projects page navbar