Additionally, constants are not allowed in IE. It causes an error, and the program simply does not run. You gotta use vars.
On top of this, these fixes are assuming you’re running the most recent versions of the browsers! There are probably loads more issues with older versions.