[Trying to debug drupal issue with jQuery replaceWith. Added remove then prepend]