Revert "Revert "js test""

This reverts commit 624b0b52727919fc6c8aa846ec6308b662ee71c5.