removing ajax methods