Fixed bug in debug() that prevent window.orientation from reporting the correct value.
Fixed bug in debug() that prevent window.orientation from reporting the correct value.

kemlpy/device.js,matthewhudson/device.js,yajinn/device.js,zorro76/device.js,Klaudit/device.js,fsanchezro/device.js,kemlpy/device.js