renders svg path strings onto an html5 canvas