Update static/components/gateway/index.js