Another fix for [6537] - make sure that .innerHTML isn't used on non-HTML documents...