IE8 support

IE8 chokes on direct call to `Array#indexOf` call. Substituted it with `lodash.indexOf`.