Editted dashboard.js so that post transition updates page