Forum:Hide template

I wanted to create a template on the Call of Duty wiki that lets blog comment containing spoilers to be hidden. A user helped me add some stuff to the common.js, we then tried to create a template (and here). But neither of them worked. Xd1358 said that it was either "1) javascript is slow 2) I'm missing something 3) some other js brokes the hide js". So I wondered if any one could help make it work. Thanks, --N7 Talk 10:15, May 22, 2011 (UTC)
 * Most likely the second. Unfortunately, it's not throwing any errors and it won't let me breakpoint it to figure out what's actually wrong.
 * It's copied from http://tinyurl.com/4yy45y6. Anything I'm missing? -- Xd1358(Talk) 18:12, May 22, 2011 (UTC)