Add function click in Editor main page webkit