adding sockjs to javascript