Create overlapRect.js