Fix for missing $event causing the route planner return to fail on every browser that is not Chrome