Update vector.js

I've been using SVG output extensively in a project and have come across a few tweaks:

1. Added height and width (unitless) - without these, wkhtmltopdf won't render them
2. Added preserveAspectRatio - without, Chrome won't scale inline <svg>