The LifeGraph Sample for Javascript