check hand held device operating system with js and jquery