adding connector js