I tried the new code and the page loaded OK but I could see no button.
After looking on Google dev pages I changed the first line of code to:
document.getElementById(‘header’).innerHTML += ‘<div class=”g-plusone” data-annotation=”inline” data-width=”300″></div>’;
and the button is there. It’s position isn’t great since Simpl_grey menus hide it when activated.