A rewrite of Gem in Node.js