ws js update