Changed facebook login to use Javascript dialog