Refactoring setupInviteLinks into a sidebar Backbone View