Making 3D graphics with Javascript and SVG