Detecting user browser can also be done with client side script as well.