Use RouteTables to generate a JavaSciprt object with routes for client side use