Added device.js