sankey js code