adding code to install.js to hide the install button if the install api is not supported