Updated to include "if IE8" logic.