Summary.js cleanup