const -> var

`const` is a syntax error on IE. We need to be able to
at least show the "not supported" message.

https://app.getsentry.com/id/id/group/4023045/