extensions.js: properly detect browser extension API presense.
extensions.js: properly detect browser extension API presense.

GNOME/extensions-web,GNOME/extensions-web,GNOME/extensions-web,GNOME/extensions-web