New javascript only random plotting, for easier debugging.