change how the ajax references the url to work in all browsers for the dashboard