O’Loughlin confident Wigan can beat Huddersfield