Logo animation using SVG and Javascript