Javascript Get Horizontal Heading From Device Orientation Stack

Javascript Get Horizontal Heading From Device Orientation Stack