Dollar eases before Jackson Hole