Add indexOf() to objectid.js to simplify other points of integration