Update server.js

Related to false issue #2
Merge pull request #3 from ThomasG77/patch-2

Update server.js