A javascript port of Potrace