ajax and jquery msg and location