How to tell if a <script> tag failed to load How to tell if a <script> tag failed to load javascript javascript