AJAX Redraw the curve based on test parameters