Raphael-loadsvg is a project mainly written in JavaScript, it's free.
A plugin for loading SVG files using Raphaёl
This plugin allows you to load an SVG file exported from AI to Raphaёl.
Raplhael.loadSVG(imageUrl, targetSet, params);
paper = Raphael(0, 0, 200, 200);
paper.rect(0, 0, paper.width, paper.height);
paper.loadSVG(
'/assets/butterfly.svg',
paper.set(),
{
x: 150,
y: 10,
width: 200,
height: 200,
keepAspectRatio: true
});