Optimizing DOM modifications to fix breaking Parature.