Read from textContent to fix init on FF.  Fixes #23