slightly improved the awful state of track-truck.js