Add compiled gateway.js