Add some missing return statements to route_data.js