new FocusEvent fails in Safari

Older versions of Safari does not support new FocusEvent but Firefox does not support createEvent('FocusEvent'). What to do? I know, lets use try/catch!