remove js and fix summary bug