Update rect-ng.js