Fix global variables for IE8.