Update hmi.js

mozLockOrientation not available on some browsers.
Update hmi.js