update rect.js dependency