commit devices.js