ajax add to core