Forum Moderators: open
<script src = "outsidescripts.js"></script>and then any further javascript activity takes place in that external file, it should make no difference if the js file is empty or even entirely absent. But if the html page itself calls on a function that lives in the js file--for example, a form that is mainly in the html but uses js content from elsewhere, or something that is supposed to be done "onload"--then you really ought to clean it up. You could change out the .js file content to lazy load a 1px clear image at the point where the .js would load...
It depends on what the html says. If every page just has something like
<script src = "outsidescripts.js"></script>
and then any further javascript activity takes place in that external file, it should make no difference if the js file is empty or even entirely absent.
would not I need to add a placeholder on the page for that imageNo, because the image is directly called by the js, not the on-page html. Of course you'll have to create that one-pixel transparent gif and put it somewhere, such as your top-level /images/ directory, but even if you forget, nothing catastrophic will happen.