add click event on markers to fetch data by JSON from GET on location/[id]/posts