messing around with js d3 svg elements