Javascript used to help create and render dashbiards for customer analytics