Update device.js

On windows 8 tablets eg. HP ElitePad, the device model is returned to the info object in the name attribute (info.name). info.model doesn't even exist in info object.