Typos update
Add timer in example/index.html
refactoring