make 'indexOf' available for static arrays too