Retrieve server time through ajax