fix already-polyfilled classname bug