Condition innerText with textContent. Closes #851

Cleaner commit to hit https://github.com/mapbox/mapbox.js/issues/851