windows8. makes getHeading callback spec compliant
Merge remote-tracking branch 'upstream/master'