Revert "server js change"

This reverts commit 3443bcba538c22b048c2dc06fafe2ce7ae97a5a0.