libsvg.js is a javascript library to aid in the development of SVG application. For details see: http://www.vectomatic.org/libs/javascript/libsvg-js