Cleaned up some more of the NodeJS utils.