Truncate extension descriptions

This is for #8216.

- [x] Code to toggle between original and truncated description
- [x] Visual review
- [ ] Code review
Since `element` is already a jQuery element, you can use `$element.toggleClass`. You might also want to pass the second argument to `toggleClass`, since you could call `toggleDescription` twice with `isShort = true`.

You can also chain these lines