added sumary and fixed some stuff added js