adding jquery ajax call generator