Make old engine version work with latest embedlite and components.
Applied patch from 894840 and
Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa