this.get('#/maint/:cpanid', function(context) { var cpanid = this.params.cpanid; var distros = highlight_distros_for_maint(context, cpanid); this.loading(); ajax_load_maint_detail(cpanid, function(maint) { var data = { 'maint' : maint, 'distros' : distros }; context.update_info('#tmpl-maint', maint.name, data) .title(maint.name + ' | ' + opt.app_title); if(maint.dates_loaded) { display_maintainer_distro_list(maint, distros); } else { ajax_load_maintainer_distro_dates(maint, distros); } }); });