add small feathure to tornado socket js
merge