Making the code a little more happy in the face of no Node.js