It would be cool to have a device-concerned library to get information about the used device, such as a devicePixelRatio to determine whether a mobile-style design should be displayed.
Alternatively, a getDevice () function within the system library could retrieve such information.