Thread:Project:Support desk/Tag extension output is being modified/reply (2)

The output is intended going into a java-script function call (see line 22), not to the actual browser output per-se. I suppose this means I am trying to make an entity reference? (forgive me, I'm super-weak with java). Should I be accomplishing this in a different fashion?