javascript program for delaunay triangulation