fix up departures.js
fix up main.js