Update to snap.svg 0.3.0. Options for how to include external javascript.
Use actually unique ids in svg output.