remove unique.js dependency