Update server.js

adding exception handling