adding topics js file