made a connecting js