Layout changes, capturing ajax requests