A simple jquery function for resolv the woeid code from a location