Applied new changes of passing params to Ajax methods