removed excess objects in topics.js javascript