Fix problem with event binding on '.html(list)'