update main.js to properly set document title

The pageTitle was never being updated even though `pageTitle` is set in all views.

updated the args to `_.result` to pick up the pageTitle attribute from the view.