Adding lastIndexOf handling to IE8

Adding additional polyfill