Javascript library for graphs updates