A javascript library to trim a DOM Element's content and add overflow characters