fix el.remove() and el.replace()
Merge pull request #50 from jonathantneal/fix/mutation

fix el.remove() and el.replace()