Improvement of common.js
Update and deletion of useless functions

- Deletion of the old functions to process time
- Additions of comments