javascript menu done