Completed ajaxDemo version