Added javascript to get uri and to get storyline events for populating nodes