Login to Faceboook and Twitter on Javascript