I\'m trying to simulate motion of a simple pendulum with d3.js and draw the path traced by the mass. I think I\'ve got it to work however an extra vertical line seems to be