Custom Facebook JS SDK framework wrapper