A websocket abstraction framework written in Ruby and JavaScript