alfik777,
<!-- Grab Google CDN's jQuery -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<!-- Fall back to local jQuery if necessary -->
<script>window.jQuery || document.write('<script src="libs/jquery/jquery-1.12.0.min.js"><\/script>')</script>
Вот и положи в свой onerror="..." <--- document.write('...')