Revert "js fix"

This reverts commit 80b93869ac329102dd7bf61ca073bf5fdbb2c68e.