removed isMobile and isSpider from Java example