build SVG "by hand" instead of relying on Raphael