Add ajax call
Merge code