reinstate attribute shorthand

name target and comment can once again be set via widget attrubutes