added back a feature from 1.0 which was the copying over of the title attribute from the option