Added front-end logic for visualizing stored routes.