Yeah, you’d have to install yet another runtime on all of your nodes to support server-side JavaScript.
I’ve been playing around with this new language called Python. The indenting syntax takes a little getting used to, but the code is way more readable than Perl. Just be sure to set indent-tabs-mode: nil if you use Emacs.