Update server.js

Javascript sucks.