Fix d.style
being undefined and code golf
#108
Merged
d.style
being undefined and code golf
#108