added HTML5 autofocus feature