more on socket_io and frontend.js