setting up frontend for snap.svg