working on menu javascript