Got delete pin to work but without AJAX