Voronoi Diagrams implemented with Javascript