Bug 897655 - Use off thread parsing when loading scripts from XUL documents, r=billm,bz,luke.