Add navbar functionality with jquery