Fixed application not working if hostname contained dashboard

If Dashku was installed at, eg "http://dashboard.example.org/", app.coffee would see "dashboard" in document.location.href and interpret this as meaning the request was for a specific dashboard. Since the URL does not contain a dashboard, this would cause an error and prevent the application from functioning in any useful manner.