Rewrite github hook to use plain Node.js