Two goals from Harry Thomson – one in the last minute – saw Barnoldswick Town draw 2-2 at home to Wigan Robin Park in the North West Counties League Premier Division.