Move menu javascript into it's own file.