Jeans giant Levi Strauss & Co has returned to profit in the third quarter having exceeded its expectations for the period, boosted by e-commerce revenue growth of 52%.