windows8. makes getHeading callback spec compliant