Fix IE style w/ var bug