Back to basic JS for Facebook API login