Spidermonkey
From wikinotes
Firefox's javascript engine.
Includes an interpreter.
Documentation
js shell https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Introduction_to_the_JavaScript_shell
Install
pacaur -S spidermonkey
Interpreter
js file.js