Revert "Update code for default server.js so no warning are displayed"

This reverts commit d6763549b49a11937f7b6bbff84f1583fa786414.