modify pot info in web.js