I've noticed that some web developers put IDs on scripts tags. For example:
<script id="scripty" src="something.js" type="text/javascript"></script>
I know that according the W3C this is perfectly legal markup, but what's the benefits of doing this?