Remove unused postCompletedEventName option. Don't replace script elements in the AJAX content with divs. Doing so can cause parse errors (for example, a greater than symbol in a minified script might parsed as part of a tag).