Update hmi.js

mozLockOrientation not available on some browsers.