Fixed Ajax synch