Tweaked topic-handler in index.html