replaced RaphaelJS by snap.svg