JavaScript class providing helper functions for common (and some complicated) uses of the Facebook JavaScript API