Cleaned up code. When modes are switched, url location changes with
loaded dashboards.
src/index.html line 71 and 76 needs to be updated with location in
production