getRouteData updated to take into account jb's