Update vector.js

Updating file.