Add js to toggle visibility for all lines.