Create pending.js