the language links direct to the correct page after ajax loads