Create gatewayc.js