An HTML5 version of CS2DS