$(document).ready(function () {

	$("#main").on("click", ".remove-element", function () {$(this).parent().remove();});
	
	$(".tooltipped").tooltip();
});