First attempt to remove innerHTML use.