Favicon Cleanup

Cleaned up a variable that was only used once by integrating it into the point of use.