[FIXED JENKINS-23724] - makeButton(e,onclick) fix for IE10

For some reason IE10 craches when document.getElementsByName is called and there is an element with a name attribute but no value. In this case a button had a name attribute set with an empty string as the value.