Animated Heartbeat Monitor using SVG and Javascript