working outline flask server with javascript upload and response from simple sliders