A JS Implementation of the Facebook login API with autopost