Simple JS library implementing polygonal lasso tool as in Adobe Photoshop