made initial js connectivity to facebook