Update devices.js

updated for models this will work on.