jscript drawing application