fix javascript for IE8
button and page markup