Done with comments logic.
Working ok (without cookies or user authentification...)
First cleanup of JS. (could be better)