bind JS for revision diff also when called through AJAX (fixes checkbox selection in history of new media manager, FS#2398)