Changed to jquery shorten plugin