Update gh-pages build
Move encoding polyfill into repo from submodule