Fixes for IE8 and below