Add html DOM ids to replication templates

While I'm here remove deprecated template