Simple plugin that truncates a text either at its end or middle based on a given width or it's elements width.