You can always add specific functionality to the javascript to handle specific commands. What was created is a nice example of how to integrate websockets with a message q into web application. It also lets you push ANY javascript via redis to anyone's browser. The concept has lots of potential. I'd like to see more widespread use of websockets. I believe projects like this can help get the ball rolling.