Wrong initialization of the script extraction algorithm

Wait for a <script> tag before considering that we are in a script.