Instead of saying "disabled", try to use a CSS [class attribute](https://developer.mozilla.org/en-US/docs/HTML/Global_attributes#attr-class):
    
    <button id="EndButton" class="disabled"></button>