add class "is-truncated" to element when trancation is done

When using `jQuery.dotdotdot`, it's disturbing to see the text in its full length before it's truncated. 
By adding the class `is-truncated` to the element, when the trancation is done, this can be prevented.