What if the first script is inline or fails the httpUrl test? We can't jsut check the index for this, you'll need a variable to tell you if you've seen the first "eligible" script.