Update server.js

support IE 10