favicon fixed
tweaked event listener