Adding device.js