Ajax calls player moves