Update pending.js