Fixed formatting on search page and a bug in javascript that rendered line charts on individual show page