Fixed problem with use of indexOf() mdethod on arrays, which is not supported by IE8 and below.   See SF Bugs #280.

git-svn-id: http://svn.code.sf.net/p/mrbs/code/mrbs/trunk@2753 25f7e783-145e-4f2d-a9f8-dd7182bfe9c7