Added JavaScript functionality:
- Header and Footer injection
- Document title update
- page Timer