load distribution js file in dashboard