app.js fixed for transport in older browsers