Using a class-based approach now.
Detach and reattach events after setting new HTML.
Moved 'use strict' inside closure.
Minified version.