added the noajax option