Truncate extension descriptions

This is for #8216.

- [x] Code to toggle between original and truncated description
- [x] Visual review
- [ ] Code review
I think it is fine how it is now. Those are initialized to undefined by JavaScript anyway.