Draws circular progress bar with SVG and JavaScript