fixing change listeners so they also work after AJAX