fix for ie8 dom/object loading issue