correction to the share popups, and corrected comment

added missing parameter to window.open to open a popup instead of a new
tab.
i don’t know which tool you use to minify this.