use production const. add classList polyfill. adjust missing var in meta.