Add dotdotdot function to jQuery

Add dotdotdot function to jQuery