device_utils.js added