This animation runs the script
$(function() {
	$("#animate").click(function(){
		
		$("#box").animate({ 
			left: [700, 'easeOutElastic'],
			top: 300  
		}, 2000);
	});

	$("#reset").click(function(){
		$("#box").css({ 
			left:500,
			top: 15,
		});
	});
	
});