fixed bug in timeline, cleaned up embed page by moving data formatting out of each individual app case statment