Fixed autofocus bug

Used javascript to refocus