Added null checks for getValue and setValue for animate SVG to get error message in console for unknown elements