Getting gradients to follow along SVG paths in JavaScript | Hacker News Reader