Do you mean  return  graph.raphael.set().push(sketch.drawLines()); ?