[js] Revert syntax change