adding auto focus for the search box in JS