Accepting user-supplied code is mostly fine

Optimizing rendering of 100,000+ HTML nodes