Seems like the answer is: No. Can't avoid getting a 404 error in the console unless you kick off a call to a server-side script to check file existence.
2.1m questions
2.1m answers
60 comments
57.0k users