store/restore ships in the ship graveyard during backup/recovery
fix to small regression in js client
fix broken tests