testing js approach to show lines