detect platform using Sys.Web.Mobile.MobileCapabilities