Modified application.js to update vector seperately
Merge pull request #32 from lossyrob/js/vectorupdate

Modified application.js to update vector seperately