You haven't said where you're getting these errors, but for instance here you're using the comma operator for no good reason:
this.loadView(e), App.activeProjectView.enterFromRouter();
Just do:
this.loadView(e);
App.activeProjectView.enterFromRouter();
Re new
with side effects, it's complaining about this:
new App.Views.Homeview();
There, new
is being used to construct an object, but then you're not saving the object reference (the result of the new
expression) anywhere. So it's only being used for side-effects (other things that happen in the function), which is not generally a good idea.