added favourite counter on individual image page, updated ajax to refresh counter cache