Fix loading modules: append HTML before getting jQuery elements
reimplement chat text