detect browser and platform whith jQuery