Linking corrected. TODO: 1. stemming, 2. passing topicFinding function to server-side. 3.Remove extra comments and printings.