added curveyline javascript example