add indexOf polyfill for IE8
add better placeholder polyfill for IE8