Add JS logic to draw and reset a new area polygon