liveGraph javascript