Adding ajax to real data