JS: rename variables in `cp_tabs.js` for clarity
Fix error when content items get orphaned after switching layouts.

The Placeholder is removed, so can't save the ContentItem anymore with
the old placeholder_id.