fix nAry test for IE < 9