added js file as well as toggle functions for nav bar