function clearCompleted() {
$("#todolist .edit:checked").parent().remove();
}
var $removeBtn = $("#remove");
removeChecked = function () {
$("input[name='test']").each(function () {
var $this = $(this);
$this.filter(":checked").parent().remove();
});
}
$removeBtn.on("click", removeChecked);