IE8 fix

"const" doesn't seem to work in IE8.