track routechanging.js