Add color parameter to drawPoint
Add draw line function binding
Catch js compile errors