Fix .innerHTML and .innerText on safari 6, fixes #1