A Chippenham-based online retailer has returned to profit with a surge in sales driven by big expansion in the US and a huge new Amazon-style warehouse and distribution headquarters.