$(document).ready(function () {
            $('[id]').each(function () {
                var ids = $('[id=' + this.id + ']');
                if (ids.length > 1 && ids[0] == this) {
                    $(ids[1]).remove();
                }
            });
        });
