Optimize js.
push new discussions to top
fix discussion link