Sets a global variable (window.isInstalled) to let you know if the web page has been installed as a standalone app.