How to detection browser using Javascript : The CodeGain