Script to serialize two versions of a DOM tree then compare the style difference