Added device.desktop() JS function (to match CSS class)