Fix bug on chatbox scroll FF (removing slimscroll)
Factorisation of JS