Test Classification of triangles with the library RaphaelJS