use textContent instead of innerText if it's available
- fixed style methods calling nonexistant functions
- update dist (forgot last time)