init iOS & JS Connection