And for anyone who is more of a Windows person, here is a guide on setting up the same fully self-hosted quakejs server under Windows 10.
https://steamforge.net/wiki/index.php/How_to_setup_a_local_QuakeJS_server_under_Windows_10
EDIT: I moved across the country and borked the server this guide...
This is a bit of an old thread but it comes up pretty high when you search on QuakeJS so I though it relevant to post and "answer" to your query.
I discovered QuakeJS a few weeks ago and wanted to setup my own server as well. In my case I really wanted to setup a server for local, offline...