normalize value on newElement

normalize value on newElement for radio and checkbox type, to fix
default value when not defined.
http://www.w3.org/TR/html5/forms.html#dom-input-value-default-on