I found a solution on Stack Overflow at the link below. It solves the javascript error, which was my original intent, while preventing the double page load. The answer is provided a few posts down.
<link rel="icon" href="data:;base64,iVBORw0KGgo=" data-note="Optional. This was only ddded to prevent the 'favicon.ico' error in the console.">
Link: