A JavaScript device orientation/ screen aspect ratio detector.