no double quotes to js examples
socket messaging logic