refactor favicon, keep DRY