Support IE9: use var instead of const in packed version