Jota scored as Liverpool narrowly defeated Crystal Palace 1-0.