added draw-test.js and drawingFunc