Vanilla JS version of FastEllipsis

Checked with chrome profiler and performance is equivalent to the jQuery version, with the added benefit of not having to load/parse jQuery. Beneficial for projects that don't use jQuery.