setup skeleton of ajax call for voting post