Added line to JS to change SVG chart attributes

Not sure if this will work or not :)

The line I added removes the height and width from the svg element and
adds a viewBox attribute (so it will resize correctly).