adding topics in js