Internet Explorer & Elements with an ID get a matching global variable in JS