ajax call for python script