Update Device.js

typo fix