single page application using backbone, requirejs, and mediator pattern