Fix IE9 bug #18