changed body to window on html ajax response