fix button undefined

Since the refactoring from reverse comments there is a js error when showing comments on question detail page