simple javascript timeline