JS rewrite of bus route finder with lots of goodies