display plain summary line in javascript