updates for ie8

This was an error which was masked by the formatting changes. Part of the reason that I did not want to merge this with the whitespace only changes.

I'm cleaning this up in the interest of keeping this PR moving.