added html5 attributes for spellcheck and placeholder