Add polyfill comment algorithm