integrate visualizations into js package