removed some trailing commas that were causing IE to stumble
include legacy shims for testing in oldIE
more robust way of comparing two strings of HTML (fixes FF attribute order bug)