Switched the indexOf polyfill to the one from MDC.

The old polyfill was not working in IE8; this one does.
support fromIndex in indexOf