IE9 compatibility fix (sigh…)