removed a commented test function in discussions.js