Handle IE8 Quirksmode a little more gracefully