Moved thread hiding javascript to sparate file.
Merge pull request #61 from ernstchan/move-hide-js

Moved thread hiding javascript to sparate file.