Fix build specs and split shipment edit button [Fixes #3167]

They were mostly failing due to a js error and shiping labels