store_annotations revised to choose divs properly during alignment.