A simple DOM mock for unit testing client JavaScript in Node.js