Fix compatibility with main server
Fix compatibility with main server

I tested things on a version of the private server running a slightly
newer version of node which is why these errors weren’t caught before.

ScreepsQuorum/screeps-quorum