Fix ajax call scope when removing language