deleted old code
Moved Message thread JS to init style