almost all of the ie8 fixes