Update devices.js

added correct inits for id and flash_recovery line.