take out device.js