#562, treat <script> specially as per HTML5, plus tests