Revert "js fix"

This reverts commit baec16c18efa13f7a84555a4d9280d93b277add1.