Fixed array customIndexOf to match strings as expected (i.e. == instead
of ===).