Revert "js change"

This reverts commit f69f9cc3cb089d4ed0cdd6758a458d08a60f2a81.