Add the JavaScript version of Dots.