is it possible in javascript to find if a control has focus?