more portable way to find ace focus/blur
support firefox (@johnmclear)

inner ace body focus/blur does not work in firefox.  also designMode is
rather different from contentEditable, there's body:focus selector doesnt
work.