Drop the extra AJAX request for path summary
Move the bulk of path summary code to JS

This avoids the extra database queries to calculate completion
percentages.