Update vector-service.js

fix missing semicolon