Found one instanceOf which will break IE7-8

Found one instanceOf which will break IE7-8. Using the declared searchArray function.