internet explorer 9 does not support const in javascript