only modify the JS with socket connector once.