closes #6. stub out the javascript socket.io event callbacks and other frontend callbacks.