Client side UA detection