The problem is with your
document.getElementsByClassName
this function is not supported on IE8. You'd better use
document.querySelectorAll
so you would have:
document.querySelectorAll('.innerContentForEmailCapture')
document.querySelectorAll('.mpBtns')
document.querySelectorAll('.mpRight')
Or, if you need to use getElementsByClassName you can use some polyfills like this