move to ES5 strict, replace const with var