ajax call from movements working