Fix a little JS error on topic display

Signed-off-by: Shitiz Garg <mail@dragooon.net>