Added option to change inner HTML and to re-bind events.