Add some javascript refreshing and time span navigation