update Transport.js