 Wix.com, which helps small businesses build and operate websites, on Wednesday reported a smaller-than-expected second-quarter loss and announced a plan to sharply reduce costs by 150 million a year. 