Fix hardcoded ip address in Ajax