fix dotdotdot js