more explicit name

using just 'type' will mess up the jQuery demo
add websocket based demo