Fixes for IE 9