added functions tryImage and getFaviconUrl to Utils.js