trunchate source link to 25 letters with javascript