A hypervirial JWKB calculation