changed cookie again to not wait for document to load