ajout ajax loader
add ajax wait and setup ajax the jquery way