Fixed <li> and <div> bug and translated code to english

The changes do the following:
1. Fix a bug that broke the timeline when <li> or <div> tags were included in the timeline
2. Translated the code and comments to English