Update devices.js

edit for loki correct init id and Device name