indexOf and lastIndexOf simplifications

Doesn't seem like a performance regression but obviously still room for improvements

http://jsperf.com/underscore-indexof-compare/2
Can you give a case? I couldn't find anything off

`10 && (10).length` will be falsey