Creating Timer Using Javascript For Navigation