Click on a button (that is not a button ?) with Applescript or Javascript
I found my own answer by digging a little deeper into this. 

tell application "Safari"


do JavaScript "document.getElementsByName('files[]')[0].click();" in document 1


end tell


Using getElementsByName and the name attribute 'files[]' was all it took (and by the way was the ONLY way out many, many that worked in this case).