Use JS modularity for all 3 plots