A JavaScript class to get information about mobile devices.