Update transport.js