refactor activity items. fix likes ajax bug