finish js menu