Server.js

Fixed js errors.