some js added for timeline