Improvements in handling replaces for AJAX, also jira-issue elements will not be indexed twice.