Fixed SVG is not defined error