結果 : check if element has focus javascript