retooled javascript and added links to timeline