now fetches pins via AJAX
added loading spinner