Draw curves with raphaeljs.