js24: 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/js24 - from package: libmozjs-24-bin

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