Use a non-capturing regexp to remove closing HTML tags.
Remove captured iframe and plaintext tag at the end
Cleanup unneeded objects even further
Prevent objects from not getting garbage collected by deleting local vars referencing those objects that could stick around in a closure
Merge pull request #199 from mobify/v2.0-streaming-speedup

V2.0 streaming speedup