Truncate extension descriptions

This is for #8216.

- [x] Code to toggle between original and truncated description
- [x] Visual review
- [ ] Code review
Just to let you know, jQuery has a .data() method to get the data attributes, which makes the code look a bit cleaner.