Connecting js file