simple ajax fn
a browser detector