Added automatic autofocus to index page