Dashing, but with pure Javascript.