Add a simple WebSocket emitter
Use npm and browserify. Drop requirejs. Move textures