Simple ajax version get post json

Need to refactor again