fix `make check-js`