reinstalling device.js