Attached (see below) is some code to allow using unobtrusive JavaScript on pages fetched with an AJAX call.