Index: _source/core/tools.js
===================================================================
--- _source/core/tools.js	(revision 2870)
+++ _source/core/tools.js	(working copy)
@@ -357,6 +357,9 @@
 	 */
 	indexOf : function( array, entry )
 	{
+		if( typeof array.indexOf == 'function' )
+			return array.indexOf( entry );
+
 		for ( var i = 0, len = array.length ; i < len ; i++ )
 		{
 			if ( array[ i ] == entry )
