see #22

Fixed an IE9 related problem