Be able to use Javascript Canvas drawing code directly in C#