It's explained in the commit message. The problem is a collision of the ID of the element with the name of the global variable.