remove extra end in Vagrantfile, add detect windows in index.js