ajax works, python server side works