As a test, I created a file with the exact contents `<script>alert(document.getElementsByTagName('script').length);</script>` and I opened it in Chrome, Firefox, and Internet Explorer 9. In all three, I got a popup alert with the number 1. I think it's fine. :)