Prototype implementation for a 2d javascript sketcher