Ajax for data.py