A JavaScript library to find the intersection of two straight lines (useful for charting libraries)