removing all of the flask stuff, turning into a static JS app
make a POST request when the chart url is too long for a GET request