(refactor) remove redundant AJAX calls from clientside