disable javascript if ipad or iphone