Support for Snap SVG library.

Works with both Snap and Raphael.