changed to rickshaw for graph rendering