Added init and sankey javascript