parseString is deprecated 

Updated device.js