snapshot before removing new_topic.js code
added lots of functionality