start of AJAX work for scorecards