Remove jquery dependency
Fix some bags on chat page