Doubts in Ajax with jmaki