Update jsGraph and spectra displayer