Javascript image annotation tool based on image segmentation.