This code gives helps you to work with SEO (escaped_fragment) and AJAX content.