As script tags may also appear in the body, do not just search head

I had some trouble getting WebGL-Inspector to work because I placed my script tags in the body (which is valid: http://www.w3.org/TR/html4/struct/global.html#h-7.5.1). This change will find all script tags in the document.