Fix instanceof Typed Arrays in IE9

Fix #2687 and #2617