blocked in JavaScript. I don't know how to use the $.ajax().