autofocus attr used instead of JS