Update generated js for sockjs