refactored topics.js

removed ajaxify.register_events using removeListener now