Add an Array.indexOf polyfill and don't depend on underscore.js

Auditors: alpert