remove unused portions of smil dom code