simplify a line clientside click