Moved points plotting to JSON server