fixing ajax call problem for calculating hra