Boilerplate using Facebook JavaScript SDK