js-config: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/js-config - from package: libmozjs185-dev

You may install the required package with command apt-get install {package}
Error in other languages:
js-config: bevel nie gevind nie
js-config: comandă negăsită
js-config: comando não encontrado
js-config: commande introuvable
js-config: command not found
js-config: käsku ei ole
js-config: không tìm thấy lệnh
js-config: komanda nerasta
js-config: Kommando nicht gefunden.
js-config: kommandot finns inte
js-config: komut yok
js-config: nie znaleziono polecenia
js-config: níor aimsíodh an t-ordú
js-config: no se encontró la orden
js-config: no s'ha trobat l'ordre
js-config: opdracht niet gevonden
js-config: parancs nem található
js-config: perintah tidak ditemukan
js-config: príkaz nenájdený
js-config: příkaz nenalezen
js-config: команда не найдена
js-config: командата не е открита
js-config: 命令找不到
js-config: コマンドが見つかりません