fixed js menu issue