don't depend on the order of events (focus has two variants in jQuery)