Added simple ajax for time