Moved SVG script before body close