Use indexOf instead of $.inArray pending ES5-shim