adding coffee script code to autoselect the text inside the search input when focused