don't create a document for ajax stuff