Ship purchase HTML restructuring