js: change in initialization ancd connection handling