Clarifying when ajax request for document changes should be made