merge Device.js