Add an implementation of Array.lastIndexOf to ie_compat.js