added some html5 features like placeholder attribute and autofocus