Put ajax data in accessible variable for Timeline