Slight update to textContent handling for completions, should fix IE.