Occurences of 'innerText' were replaced with 'textContent'

Occurences of 'innerText' were replaced with 'textContent' for all files excluding external libraries.
This fix improves compatibility with IE11 by utilizing “textContent”, a W3C standard API. innerText logic handles newlines differently in different browsers, which can cause shader compilation problems.