Revert "Update server.js"

This reverts commit ba02d5a0eada47ca2cedf3116e25b015721563be.
Revert "Revert "Update server.js""

This reverts commit 33bdd6045961e72fd60e2d83bcabf0fe5f9eb6cc.