Update and rename thread-0.1.js to thread-0.1.1.js

direct comparison for HTMLScriptElement instead of HTMLElement and nodeName