Adding a private 'contains' method for Array indexOf support

IE didn't add support for that until IE9