We could still have this (in theory). All that is needed is an implementation of Perl in JavaScript to bridge the gap.
In my language ZuzuScript, such a bridge exists, though currently it has minimal support for loading modules, only supporting a handful of stdlib modules.
Example: https://jsfiddle.net/no2rb4uf/