Added null checks for getValue and setValue for animate SVG to get error...

... message in console for unknown elements.
Makes finding that typo in your element name much easier to find.