new combined graph js with many improvements