just use `!==`

also, please use `{}` even for one-line if-blocks.

Can you explain why you remove the check for `app.manifest.permissions` ? Is it because we check this at install already ?