fix N+1
use 'yajl-ruby' to improve json rendering speed
scroll to bottom after posting new message