Fixes for IE>=8