add summary stats back and update js to reflect new endpoint