Revert "js fix"

This reverts commit 4bba15f50d70ff1c8e20b627119c84a30041be19.
fix