html5 based 2d cnc controller