draw a line with Raphael
draw a line function in production code