Ajax request and Object.extent