Revert "js change"

This reverts commit cc27950c53d15a94b5170956e5e1e78f03fd56fd.